<div id="working_on_basic">
<h3> Hello <%=session[:user].login%>, you are working on</h3>
<p>
Issue:
<% if(session[:issue].nil?)%>
   No issue has been selected go <%=link_to('here', :action=>'pick_issue')%>, and select one
   </p>

<%else%>
  <%=session[:issue].issue_number%>
  <%= link_to "Edit layout (Just for test)", :controller => 'edit', :action=>'issue_layout_designer'%>
  </p>
  <p>
Section:
    <% if (session[:section].nil?) %>
        No section has been selected go <%=link_to('here', :action=>'pick_section')%>, and select one
        </p>
        
    <%else%>
        <%=session[:section].name %>
        </p>
    <%end%>
<%end%>




<p>
    <span class="link_like" onclick="getElementById('working_on_detailed').style.display='block'">View issue details [+]</span>
</p>


	<div id="working_on_detailed" style="display:none">
	  <% if(session[:issue].nil?)%>
	   <p> No issue has been selected</p>
	
	  <%else%>
	  <p>Status:
	    <%=session[:issue].status_name%>
	  </p>
	  <p>Created at:
	    <%=session[:issue].created_at%>
	  </p>
	  <p>Updated at:
	    <%=session[:issue].updated_at%>
	  </p>
	  
	  <%end%>
	
	  
	  <span   class="link_like" onclick="getElementById('working_on_detailed').style.display='none'">Hide details[-]</span>
	</div>
</div>